package com.pth.dao;

import java.util.List;

import com.pth.model.News;

public interface NewsDAO {

	public void save(News news);
	
	public void delete(News news);
	
	public void update(News news);
	
	public News getNewsByid(int id);
	
	public List<News> getNews(final int pagesize,final int offset);
	
	public  List<News> getNewsOrderByScannum(final int pagesize,final int offset);
	
	public int getAllNum();
	
	
	public List<News> getAllNews();
	
	
}
